<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk"
	xmlns:c="http://java.sun.com/jstl/core">
<ui:composition template="/templates/mainTemplate.xhtml">
	<ui:define name="pageTitle">Admin User Detail</ui:define>
	<ui:define name="pageHeader">Admin User Detail</ui:define>
	<ui:define name="maincontent">
		<h:form>
			<h:panelGrid columns="2">
				<h:outputText value="Id: " /><h:inputText value="#{person.id}" />
				<h:outputText value="Nick: " /><h:inputText value="#{person.nick}" />
				<h:outputText value="Passwort: " /><h:inputText value="#{person.password}" />
				<h:outputText value="Vorname: " /><h:inputText value="#{person.vorname}" />
				<h:outputText value="Nachname: " /><h:inputText value="#{person.nachname}" />
				<h:outputText value="EMail: " /><h:inputText value="#{person.email}" />
				<h:outputText value="Confirmed: " /><h:selectBooleanCheckbox value="#{person.confirmed}" />
				<h:outputText value="Adminrechte: " /><h:selectBooleanCheckbox value="#{person.admin}" />
				<h:commandButton value="Speichern" action="#{person.saveEditUser}" />
			</h:panelGrid>
		</h:form>
	</ui:define>
</ui:composition>
</html>